package com.hao.tool.web.component.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * FTP配置信息
 *
 * @author RuiHaoZ on GZ.cmhk
 * @date 2019-11-04 09:43
 */
@Configuration
@ConfigurationProperties(prefix = FTPProjectProperties.PREFIX)
@Getter
@Setter
public class FTPProjectProperties {

    public static final String PREFIX = "hao-tool.ftp";

    /**
     * FTP 地址
     */
    private String ftpIp;
    /**
     * FTP端口
     */
    private Integer ftpPort = 21;
    /**
     * ftp用户名
     */
    private String ftpUsername;
    /**
     * FTP密码
     */
    private String ftpPassword;
    /**
     * 临时路径
     */
    private String tempLocalDir;
    /**
     * ftp路径
     */
    private String baseRootDir;

    /**
     * ftp服务器斜线符
     */
    private String separator = "/";


}
